from celery_tasks.main import app
from django.conf import settings

from celery_tasks.main import app

@app.task(name='send_email')
def send_email(subject,to_email,html_message):
    send_email(subject,'',settings.EMAIL_FROM,[to_email],
               html_message=html_message)
